/**
 * 
 */
package org.statewalker.core.server;

import java.util.logging.Level;
import java.util.logging.Logger;

import org.statewalker.core.AsyncState;
import org.statewalker.core.IEvent;

/**
 * @author kotelnikov
 */
public class ServerAsyncState extends AsyncState {

    private final Logger log = Logger.getLogger(ServerAsyncState.class
        .getName());

    @Override
    protected IEvent handleEvent(Throwable t, String message, IEvent event) {
        log.log(Level.SEVERE, "Error!", t);
        return super.handleEvent(t, message, event);
    }
}
